piecewise function is continuous or not